Micron Document
🎖️GitЯра🎖️


Displaying Raw • Download

core/repository/src/commonMain/kotlin/org/meshtastic/core/repository/HandshakeConstants.kt renovate/net.java.dev.jna-jna-5.x (5a8f4966) Text, 1.31 KB

T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.core.repository

T8b949e/**
* Shared constants for the two-stage mesh handshake protocol.
*
* Stage 1 (`CONFIG_NONCE`): requests device config, module config, and channels. Stage 2 (`NODE_INFO_NONCE`): requests
* the full node database.
*
* Both [MeshConfigFlowManager] (consumer) and [MeshConnectionManager] (sender) reference these.
*/
Tff7b72object T56d364HandshakeConstants Tb4b4b4{
T8b949e/** Nonce sent in `want_config_id` to request config-only (Stage 1). */
Tff7b72const Tff7b72val Te6edf3CONFIG_NONCE Tff7b72= T79c0ff6T79c0ff9T79c0ff4T79c0ff2T79c0ff0

T8b949e/** Nonce sent in `want_config_id` to request node info only (Stage 2). */
Tff7b72const Tff7b72val Te6edf3NODE_INFO_NONCE Tff7b72= T79c0ff6T79c0ff9T79c0ff4T79c0ff2T79c0ff1
Tb4b4b4}

Served by rngit 1.5.0 - Generated in 0.06s